#include"EpollServer.hpp"
#include<string>



void Useage(char* ch[])
{
    std::cout << ch[0] << " server port" << std::endl;
}



int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        Useage(argv);
        exit(1);
    }


    std::unique_ptr<EpollServer> _server = std::make_unique<EpollServer>(std::stoi(argv[1]));
    _server->Start();
    return 0;
}